<?php
/**
*
* @package avp
* @version $Id: $
* @copyright (c) 2006 Jan-Willem van Ganswijk, Stefan van Essen
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
define('IN_SCRIPT', 'TRUE'); //Voor de evil haxx0rz.

$root = '../';

include($root . 'includes/common.inc.php');
include($root . 'includes/session.class.php');

$session = new sessionWrapper();

if(!$session->check_login()) {
	header('location: login.php');
} else {
	header('location: avatar.php');
}

?>